using com.youzu.warh.protocol;

public class CastAreaSkillPool : ProtoPoolBase<CastAreaSkill>
{
    protected override void RecycleChildren(CastAreaSkill data)
    {
        ProtoFactory.Recycle(data.attackCoordinate);
        ProtoFactory.Recycle(data.targetCoordinate);
    }

    protected override void ClearNetData(CastAreaSkill data)
    {
        data.skillId = 0;
        data.attackCoordinate = null;
        data.targetCoordinate = null;
        data.startFame = 0;
    }
}